
	<div class="goodsTagTitle clearfix">
		  <h2><span class="left"></span><span class="right"></span><?php echo $this->_var['lang']['bought_notes']; ?>(<?php echo $this->_var['lang']['later_bought_amounts']; ?><font class=""><?php echo $this->_var['pager']['record_count']; ?></font>)</h2>
	</div>
  <div class="clearfix">
 <?php if ($this->_var['notes']): ?>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#ccc" class="blank">
       <tr>
			 <th width="25%" align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['username']; ?></th>
			 <th width="10%" align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['number']; ?></th>
			 <th width="45%" align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['bought_time']; ?></th>
			 <th width="20%" align="center" bgcolor="#FFFFFF"><?php echo $this->_var['lang']['order_status']; ?></th>
			 </tr>
       <?php $_from = $this->_var['notes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'note');if (count($_from)):
    foreach ($_from AS $this->_var['note']):
?>
       <tr>
			 <td align="center" bgcolor="#FFFFFF">
			 <?php if ($this->_var['note']['user_name']): ?><?php echo htmlspecialchars($this->_var['note']['user_name']); ?><?php else: ?><?php echo $this->_var['lang']['anonymous']; ?><?php endif; ?>			 </td>
			 <td align="center" bgcolor="#FFFFFF">
			 <?php echo $this->_var['note']['goods_number']; ?>			 </td>
			 <td align="center" bgcolor="#FFFFFF">
			 <?php echo $this->_var['note']['add_time']; ?>			 </td>
			 <td align="center" bgcolor="#FFFFFF">
			 <?php if ($this->_var['note']['order_status']): ?><?php echo $this->_var['lang']['turnover']; ?><?php else: ?><?php echo $this->_var['lang']['is_cancel']; ?><?php endif; ?>			 </td>
			 </tr>
       <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</table>
 <?php else: ?>
     <div class="tips"><?php echo $this->_var['lang']['no_notes']; ?></div>
 <?php endif; ?>

	 <div id="buy_pagebar" align="right" style="margin-top:10px">
		<form name="selectPageForm" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
		<?php if ($this->_var['pager']['styleid'] == 0): ?>
		<div id="buy_pager">
			<?php echo $this->_var['lang']['pager_1']; ?><?php echo $this->_var['pager']['record_count']; ?><?php echo $this->_var['lang']['pager_2']; ?><?php echo $this->_var['lang']['pager_3']; ?><?php echo $this->_var['pager']['page_count']; ?><?php echo $this->_var['lang']['pager_4']; ?> <span> <a href="<?php echo $this->_var['pager']['page_first']; ?>"><?php echo $this->_var['lang']['page_first']; ?></a> <a href="<?php echo $this->_var['pager']['page_prev']; ?>"><?php echo $this->_var['lang']['page_prev']; ?></a> <a href="<?php echo $this->_var['pager']['page_next']; ?>"><?php echo $this->_var['lang']['page_next']; ?></a> <a href="<?php echo $this->_var['pager']['page_last']; ?>"><?php echo $this->_var['lang']['page_last']; ?></a> </span>
				<?php $_from = $this->_var['pager']['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_87833400_1310305301');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_87833400_1310305301']):
?>
				<input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo $this->_var['item_0_87833400_1310305301']; ?>" />
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		</div>
		<?php else: ?>

		
		 <div id="buy_pager" class="pagebar">
			<span class="f_l f6" style="margin-right:10px;"><?php echo $this->_var['lang']['total']; ?> <b><?php echo $this->_var['pager']['record_count']; ?></b> <?php echo $this->_var['lang']['user_comment_num']; ?></span>
			<?php if ($this->_var['pager']['page_first']): ?><a href="<?php echo $this->_var['pager']['page_first']; ?>">1 ...</a><?php endif; ?>
			<?php if ($this->_var['pager']['page_prev']): ?><a class="prev" href="<?php echo $this->_var['pager']['page_prev']; ?>"><?php echo $this->_var['lang']['page_prev']; ?></a><?php endif; ?>
			<?php $_from = $this->_var['pager']['page_number']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_87878300_1310305301');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_87878300_1310305301']):
?>
						<?php if ($this->_var['pager']['page'] == $this->_var['key']): ?>
						<span class="page_now"><?php echo $this->_var['key']; ?></span>
						<?php else: ?>
						<a href="<?php echo $this->_var['item_0_87878300_1310305301']; ?>">[<?php echo $this->_var['key']; ?>]</a>
						<?php endif; ?>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

			<?php if ($this->_var['pager']['page_next']): ?><a class="next" href="<?php echo $this->_var['pager']['page_next']; ?>"><?php echo $this->_var['lang']['page_next']; ?></a><?php endif; ?>
			<?php if ($this->_var['pager']['page_last']): ?><a class="last" href="<?php echo $this->_var['pager']['page_last']; ?>">...<?php echo $this->_var['pager']['page_count']; ?></a><?php endif; ?>
			<?php if ($this->_var['pager']['page_kbd']): ?>
				<?php $_from = $this->_var['pager']['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_87932500_1310305301');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_87932500_1310305301']):
?>
				<input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo $this->_var['item_0_87932500_1310305301']; ?>" />
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				<kbd style="float:left; margin-left:8px; position:relative; bottom:3px;"><input type="text" name="page" onkeydown="if(event.keyCode==13)selectPage(this)" size="3" class="B_blue" /></kbd>
				<?php endif; ?>
		</div>
		

		<?php endif; ?>
		</form>
		<script type="Text/Javascript" language="JavaScript">
		<!--
		
		function selectPage(sel)
		{
			sel.form.submit();
		}
		
		//-->
		</script>
	</div>

</div>
